package com.hkbigdata.springbootquickhelloworld.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author liuanbo
 * @creat 2024-08-28-15:26
 * @see 2194550857@qq.com
 */
//@Controller
@RestController
public class HelloWorld {
    //    @ResponseBody
    @RequestMapping("/hello")
    public String hello() {
        return "hello world";
    }
}
